import request from '@/utils/request';

export async function getList(params) {
    return request('/api/oa/v1/attendancecount/turnoutlist/getlist', {
        method: 'POST',
        data: params
    });
}
/**
 * 考勤统计导出接口
 */
export async function attendTotalExport(params) {
    // 连接LYH 本机 调试文件下载
    return request(
        '/api/oa/v1/attendancecountexport/attendanceReport/getlist',
        {
            method: 'POST',
            data: params,
            getResponse: true,
            encryption: false,
            isFile: true,
            responseType: 'blob',
            headers: { 'Content-Type': 'application/json' }
        }
    );
}
